package cn.xdd.entity;

import java.util.List;

/**
 * @author user_xdd
 * @Date 2022-04-01 15:35
 * @description
 * @return
 */
public class RoleAndToken {
    Role role;
    List<power> powers;

    public RoleAndToken() {
    }

    @Override
    public String toString() {
        return "RoleAndToken{" +
                "role=" + role +
                ", powers=" + powers +
                '}';
    }

    public Role getRole() {
        return role;
    }

    public void setRole(Role role) {
        this.role = role;
    }

    public List<power> getPowers() {
        return powers;
    }

    public void setPowers(List<power> powers) {
        this.powers = powers;
    }

    public RoleAndToken(Role role, List<power> powers) {
        this.role = role;
        this.powers = powers;
    }
}
